#include <stdio.h>

int main() {
   char caidaban;
   scanf("%c",&caidaban);
   printf("%c%c%c\n",caidaban,caidaban,caidaban);
   printf("%c%c%c\n",caidaban,caidaban,caidaban);
   printf("%c%c%c\n",caidaban,caidaban,caidaban);


    return 0;
}